package com.springboot.personblogsystem.common;

/**
 * Created with IntelliJ IDEA.
 * Description :
 * User: jiume
 * Date: 2025-05-14
 * Time: 8:55
 */
public enum ResultCodeEnum {
    SUCCESS(200),
    ERROR(400),
    FATAL(500);

    private final Integer code;

    private ResultCodeEnum(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }
}
